package top.retain;

/**
 * @author ivorfan
 * @date 2021/7/10 10:21
 */
public class HeapSpaceInitial {

    public static void main(String[] args) {
        long initialMemory = Runtime.getRuntime().totalMemory();
        System.out.println(initialMemory / 1024 / 1024);
        long maxMemory = Runtime.getRuntime().maxMemory();
        System.out.println(maxMemory / 1024 /1024);


    }

}
